PhpOffice\PhpSpreadsheet\Worksheet\Worksheet D

Total Complexity 323
Dependencies 35
Dependents 38
Total lines 3,037
Lines of code 1,099
Logical lines of code 620
Comment lines 1,384
Methods 143
Properties 42

Methods 143

Method Rating Maintainability Complexity Lines of code
calculateColumnWidths()
B
41 16 52
setTitle()
A
45 14 41
rangeToArray()
A
44 12 43
setCodeName()
A
49 11 32
__clone()
A
50 11 28
cellExists()
A
49 9 28
getCell()
A
51 9 24
fromArray()
S
53 7 23
duplicateConditionalStyle()
S
54 7 19
shrinkRangeToFit()
S
52 6 25
duplicateStyle()
S
53 6 21
createNewCell()
S
55 6 18
checkSheetCodeName()
S
57 6 15
mergeCells()
S
54 5 20
getComment()
S
57 5 16
freezePane()
S
60 5 12
garbageCollect()
S
55 4 19
setBreak()
S
59 4 15
getChartByIndex()
S
61 4 13
getColumnDimension()
S
61 4 13
getChartByName()
S
62 4 12
setAutoFilter()
S
66 4 8
removeColumn()
S
58 3 15
removeRow()
S
59 3 14
rebindParent()
S
61 3 13
unmergeCells()
S
60 3 13
getRowDimension()
S
63 3 11
getCoordinates()
S
66 3 9
getCellByColumnAndRow()
S
66 3 8
checkSheetTitle()
S
64 3 9
setSelectedCells()
S
58 2 15
extractSheetTitle()
S
64 3 9
getHashCode()
S
67 3 7
getStyleByColumnAndRow()
S
67 3 7
__construct()
S
56 1 17
protectCells()
S
66 2 8
unprotectCells()
S
65 2 9
refreshColumnDimensions()
S
66 2 9
refreshRowDimensions()
S
66 2 9
setDataValidation()
S
67 2 8
getDataValidation()
S
69 2 7
disconnectCells()
S
70 2 7
addChart()
S
65 2 9
setHyperlink()
S
67 2 8
removeColumnByIndex()
S
70 2 6
namedRangeToArray()
S
64 2 9
getTabColor()
S
71 2 6
getHyperlink()
S
69 2 7
insertNewColumnBeforeByIndex()
S
70 2 6
getHighestRow()
S
71 2 6
getHighestColumn()
S
71 2 6
insertNewColumnBefore()
S
64 2 9
insertNewRowBefore()
S
64 2 9
getChartNames()
S
69 2 7
getConditionalStyles()
S
69 2 7
resetTabColor()
S
74 1 5
setPrintGridlines()
S
77 1 4
toArray()
S
69 1 6
getPrintGridlines()
S
82 1 3
setShowGridlines()
S
77 1 4
getShowGridlines()
S
82 1 3
isTabColorSet()
S
80 1 3
copy()
S
77 1 4
getCodeName()
S
82 1 3
getTopLeftCell()
S
82 1 3
getShowRowColHeaders()
S
82 1 3
setShowSummaryBelow()
S
77 1 4
getDataValidationCollection()
S
82 1 3
getActiveCell()
S
82 1 3
getRowIterator()
S
79 1 3
getColumnIterator()
S
79 1 3
setRightToLeft()
S
77 1 4
getRightToLeft()
S
82 1 3
unfreezePane()
S
80 1 3
setSelectedCell()
S
80 1 3
getSelectedCells()
S
82 1 3
getCommentByColumnAndRow()
S
79 1 3
dataValidationExists()
S
79 1 3
hyperlinkExists()
S
79 1 3
getHyperlinkCollection()
S
82 1 3
setComments()
S
77 1 4
getComments()
S
82 1 3
setShowSummaryRight()
S
77 1 4
getShowSummaryRight()
S
82 1 3
getShowSummaryBelow()
S
82 1 3
setShowRowColHeaders()
S
77 1 4
setSelectedCellByColumnAndRow()
S
79 1 3
mergeCellsByColumnAndRow()
S
74 1 4
freezePaneByColumnAndRow()
S
79 1 3
getParent()
S
82 1 3
setSheetView()
S
77 1 4
getSheetView()
S
82 1 3
setHeaderFooter()
S
77 1 4
getHeaderFooter()
S
82 1 3
setPageMargins()
S
77 1 4
getPageMargins()
S
82 1 3
setPageSetup()
S
77 1 4
getPageSetup()
S
82 1 3
setSheetState()
S
77 1 4
getSheetState()
S
82 1 3
getTitle()
S
82 1 3
calculateWorksheetDataDimension()
S
78 1 3
setProtection()
S
74 1 5
calculateWorksheetDimension()
S
78 1 3
getChartCount()
S
80 1 3
getChartCollection()
S
82 1 3
getDrawingCollection()
S
82 1 3
getDefaultColumnDimension()
S
82 1 3
getColumnDimensions()
S
82 1 3
getDefaultRowDimension()
S
82 1 3
getRowDimensions()
S
82 1 3
getInvalidCharacters()
S
80 1 3
getCellCollection()
S
82 1 3
__destruct()
S
77 1 4
getProtection()
S
82 1 3
getHighestDataColumn()
S
80 1 3
getFreezePane()
S
82 1 3
setConditionalStyles()
S
75 1 4
removeAutoFilter()
S
77 1 4
setAutoFilterByColumnAndRow()
S
69 1 7
getAutoFilter()
S
82 1 3
getProtectedCells()
S
82 1 3
unprotectCellsByColumnAndRow()
S
74 1 4
protectCellsByColumnAndRow()
S
73 1 4
setMergeCells()
S
77 1 4
getMergeCells()
S
82 1 3
unmergeCellsByColumnAndRow()
S
74 1 4
getBreaks()
S
82 1 3
setBreakByColumnAndRow()
S
78 1 3
getConditionalStylesCollection()
S
82 1 3
getHighestDataRow()
S
80 1 3
removeConditionalStyles()
S
75 1 4
conditionalStylesExists()
S
79 1 3
getStyle()
S
73 1 5
getStyles()
S
82 1 3
getColumnDimensionByColumn()
S
80 1 3
cellExistsByColumnAndRow()
S
79 1 3
setCellValueExplicitByColumnAndRow()
S
75 1 4
setCellValueExplicit()
S
75 1 4
setCellValueByColumnAndRow()
S
75 1 4
setCellValue()
S
76 1 4
getHighestRowAndColumn()
S
81 1 3
hasCodeName()
S
79 1 3